package com.ydkj.a37e_mall.Classes.Model.Response;

import java.util.List;

/**
 * Created by Administrator on 2017/2/27.
 */

public class TreasureRecordResp {

    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"type":"返还通宝","turnover":"1","price":"2000.00","created_at":"2017-02-25 20:36:19","sn":"G219355238863218","name":"云颠","mobile":"18350282057","address":"福建省厦门市思明区莲前街道望海路16号之二4楼"},{"type":"返还通宝","turnover":"1","price":"55.00","created_at":"2017-02-25 20:36:19","sn":"G221861074573652","name":"游窝(厦门)","mobile":"18350282057","address":"福建省厦门市湖里区火炬高技术开发区森宝财富大厦"}],"total_page":"","current_page":"","total":"","access_token":"pq7MxaKZmMmjy6mtodTcnJeXr2dl"}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : [{"type":"返还通宝","turnover":"1","price":"2000.00","created_at":"2017-02-25 20:36:19","sn":"G219355238863218","name":"云颠","mobile":"18350282057","address":"福建省厦门市思明区莲前街道望海路16号之二4楼"},{"type":"返还通宝","turnover":"1","price":"55.00","created_at":"2017-02-25 20:36:19","sn":"G221861074573652","name":"游窝(厦门)","mobile":"18350282057","address":"福建省厦门市湖里区火炬高技术开发区森宝财富大厦"}]
         * total_page :
         * current_page :
         * total :
         * access_token : pq7MxaKZmMmjy6mtodTcnJeXr2dl
         */

        private String total_page;
        private String current_page;
        private String total;
        private String access_token;
        private List<DataEntity> data;

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * type : 返还通宝
             * turnover : 1
             * price : 2000.00
             * created_at : 2017-02-25 20:36:19
             * sn : G219355238863218
             * name : 云颠
             * mobile : 18350282057
             * address : 福建省厦门市思明区莲前街道望海路16号之二4楼
             */

            private String type;
            private String turnover;
            private String price;
            private String created_at;
            private String sn;
            private String name;
            private String mobile;
            private String address;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTurnover() {
                return turnover;
            }

            public void setTurnover(String turnover) {
                this.turnover = turnover;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }
    }
}
